package com.sanrenzu.everybodytv.http;

import com.sanrenzu.everybodytv.bean.sms.IntentBean;
import com.sanrenzu.everybodytv.bean.sms.live.ZhiBoBean;
import com.sanrenzu.everybodytv.config.UrlConfig;

import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;

/**
 * Created by My on 2016/8/30.
 */
public interface IDataBeanCommend {

    //获取推荐的数据
    @GET(UrlConfig.Path.RECOMMEND_CENTER_URL)
    Call<ResponseBody> getCommendBean();

    //获取广告的数据
    @GET(UrlConfig.Path.RECOMMEND_VIEWPAGER_URL)
    Call<ResponseBody> getCommendViewPager();

    @GET(UrlConfig.Path.RECOMMEND_INTENT_URL)
    Call<IntentBean> getCommendIntentGirdView(@Path("name") String name);

    @GET(UrlConfig.Path.RECOMMEND_INTENT_ZHIBO_VIEWPAGER_URL)
    Call<ZhiBoBean> getCommendZhiBo(@Path("id")String id);

}
